import random

# 猜年龄游戏
# age = 23
# while True:
#     inputAge = int(input('请输入年龄'))
#     if inputAge < age:
#         print('猜小了')
#     elif inputAge == age:
#         print('猜对了')
#         break
#     else:
#         print('猜大了')

# 打印九九乘法表
# for i in range(1, 10):
#     for j in range(1, i + 1):
#         print(f'{i}*{j}={i * j}', end=' ')
#     print()

# 求素数
# for i in range(2, 101):
#     is_prime_num = True # 设定标志位
#     for j in range(2, i, 2):
#         if i % j == 0:
#             is_prime_num = False
#             break
#     if is_prime_num:
#         print(i, end=' ')

# 打印三角形
# for i in range(11):
#     if i <= 5:
#         print('*' * i)
#     else:
#         print('*' * (10 - i))

# 存款多少年翻倍
# base = 10000
# interest = 0.0325
# total = base
# year = 0
# while year < 10000:
#     year += 1
#     total *= (1 + interest)
#     if total > 2 * base:
#         print(year)
#         break

# 一个抽奖程序 要求不重复 100 号员工 三等奖 3 名 二等奖 1 名 一等奖 1 名
staff = list(range(1, 101))
i = random.randint(1, 100)
print(staff[i])
i = random.randint(1, 100)
print(staff[i])
i = random.randint(1, 100)
print(staff[i])
i = random.randint(1, 100)
print(staff[i])
i = random.randint(1, 100)
print(staff[i])
i = random.randint(1, 100)
print(staff[i])
